package com.gdk.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TicketOrderService {
	//查询所有订单
	List<Map<String,Object>> doFindAllOrder();
	//查询所有收费订单 
	List<Map<String,Object>> doFindAllOrderAndMoney();
	//查询待核销订单
	List<Map<String,Object>> doFindAllOrderAndStatus1();
	//动态查询所有订单
	List<Map<String,Object>> doFindAllOrderPaging(Map<String,Object> map);
	//修改订单状态 
	int doUpdateOrderStatus(Map<String,Object> map);
	//查询用户是否已下单 
	List<Map<String,Object>> doFindUserByOrder(Map<String,Object> map);
	//查询下级订单
	List<Map<String,Object>> doFindAllOrderByFXOne(Map<String,Object> map);
	//查看相关联的核销码  
	List<Map<String,Object>> doFindHXCodeByOrder(Map<String,Object> map);
	//查询所有核销码 
	List<Map<String,Object>> doFindAllHXCode(Map<String,Object> map);
	//根据核销码查询信息
	List<Map<String,Object>> doFindHXCodeByCode(Map<String,Object> map); 
	//修改核销码状态 
	int doUpdateHXCodeStatus(Map<String,Object> map);
	//查询指定商户的订单
	List<Map<String,Object>> doFindAllOrderByShop(Map<String,Object> map);
	//查询核销码信息
	Map<String,Object> selectHXCodeByID(Map<String,Object> map);
	//查询指定订单的所有为0的核销码
	List<Map<String,Object>> selectAllHXCodeByOrderAndCodeStatus(Map<String,Object> map);
	//根据核销码查询信息新
	Map<String,Object> selectHXCodeByCode(Map<String,Object> map);
	//修改核销码状态 
	int updateHXCodeStatusByCode(Map<String,Object> map);
	//查询核销码信息
	Map<String,Object> selectHXCodeByHXCode(Map<String,Object> map);
}
